﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebUI.constant
{
    /// <summary>
    /// 枚举类
    /// </summary>
    public enum CodeEnum
    {
         EMAIL_EMPTY = 1001,//密码为空
         EMAIL_OR_PASSWORD_EMPTY = 1002,//密码或者邮箱为空
         LOGIN_FAILED =1003,//登陆失败，服务器异常
         NOT_LOGIN = 1004,//没有登陆
         EDITE_FAILED =1005,//修改失败，服务器异常
         EMAIL_FORMAT_ERROR=1006,//邮箱格式错误
         PASSWORD_TOO_EASY=1007,//密码过于简单，必须由大小写字母数字特殊字符组合
         REG_FAILED = 1008,//注册失败，服务器异常
         SELECT_NOTHING = 1009,//没有查询到任何东西
         NOT_AUTHORITY_EDITE = 1010,//没有权限修改
         EMPTY_DATA_ERROR =1011,//无效数据
        CREATE_QESTIONNAIRE_FAILED = 1012,//添加问卷失败
        DELETE_SUCCESS = 1013,//删除成功
        POST_QUESTIONFEEDBACK_FAILED = 1014,//提交问卷失败
        ERROR_404 = 1404,//404错误
        ERROR_500 = 1500,//500错误


        LOGIN_SUCCESS = 2001,//登陆成功
         EDITE_SUCCESS = 2002,//修改成功
          REG_SUCCESS = 2003,//注册成功
          LOGINOUT_SUCCESS = 2004,//注销成功
          SELECT_SUCCESS = 2005,//查询成功
        CREATE_QESTIONNAIRE_SUCCESS = 2006,//添加问卷成功
        POST_QUESTIONFEEDBACK_SUCCESS,//提交问卷成功


    }
}